package com.iflytek.springboot_medicine.common;

import java.util.List;

public class Page<T> {
    private List<T> list; // 当前页的数据
    private Long total;   // 总记录数

    public Page() {
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
